package com.corpgovernment.organization.util;

/**
 * @author wangyujue
 */
public class CardTypeSwitchUtil {
    public static String getNameById(Integer id) {
        String name = "";
        switch (id) {
            case 1:
                name = "身份证";
                break;
            case 2:
                name = "护照";
                break;
            case 3:
                name = "学生证";
                break;
            case 4:
                name = "军人证";
                break;
            case 7:
                name = "回乡证";
                break;
            case 8:
                name = "台胞证";
                break;
            case 10:
                name = "港澳通行证";
                break;
            case 21:
                name = "旅行证";
                break;
            case 22:
                name = "台湾通行证";
                break;
            case 28:
                name = "外国人永久居留身份证";
                break;
            case 32:
                name = "港澳台居民居住证";
                break;
            case 99:
                name = "其他";
                break;
            default:
                break;
        }
        return name;
    }
}
